public class BubbleSort extends SortAlgorithmAdapter {
	
	protected void sortArray() {
		int len = this.arrayLen;
		
		for(int i = 0; i < len; i++) {
			for (int j = len - 1; j - 1 >= i; j--) {
				if ( this.array[j] < this.array[j - 1] ) {
					int tmp = this.array[j];
					this.array[j] = this.array[j - 1];
					this.array[j - 1] = tmp;
				}
			}
		}
	}
	
	

}
